package java67_17.jiekou.pc;

//古筝
public class Guzheng {

	// 弦的数目,全部的对象共享的一个属性
	static int bowstring = 5;

	private String owner;

	public Guzheng(String o) {
		owner = o;
	}

	// 弹奏给谁听
	public void playTo(String to) {
		System.out.println("这是一把" + bowstring + "弦琴");
		System.out.println(owner + "弹给" + to + "听");
	}

	public static void show() {
		System.out.println("现在流行" + bowstring + "弦琴");
	}
}
